package com.meteor.user.convert;

import com.meteor.user.entity.SysAttachment;
import com.meteor.user.vo.SysAttachmentVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 附件管理
 *
 * @author lynn
 * @date 2024/1/03
 */
@Mapper
public interface SysAttachmentConvert {
    SysAttachmentConvert INSTANCE = Mappers.getMapper(SysAttachmentConvert.class);

    SysAttachment convert(SysAttachmentVO vo);

    SysAttachmentVO convert(SysAttachment entity);

    List<SysAttachmentVO> convertList(List<SysAttachment> list);

}